8. set & rst instructions

你好。
Hello.

在本教程中,我们将学习如何在 FBD 和更高版本的编程语言中使用、设置和重置指令?
In this tutorial, we will learn how can we use, set and reset instructions in the FBD and later programming language?

我们在这里,从设定的指令开始。
And here we are, starting with the set instruction.

好的。
OK.

这是第三条指令。
This is and third instruction.

启用后,它将设置正确的输出。
When it's enabled, it will set the output right.

让我们在这里启用。
And let's make enabling here.

例如,我可以在这里写“我为零”,我们可以使用输出“1”来设置它。
For example, I can write here I'm zero and the output we can use and one to make it set.

这将被设置。
This will be set.

这件事会解决的,对吗?
And this will be settled, right?

好的,这是第一件事。
OK, this is the first thing.

然后第二件事我们需要使用重置指令,即转到重置指令。
And then the second thing we need to use a reset instruction and this go to reset instruction.

这是我的重置。
And this is my reset.

让我们像我一样启用重置。
And let's enable the reset like l am to.

好的。
OK.

我们可以说输出。
And the output we can say.

三个还好。
And three OK.

并设置和重置。
And set and reset.

好的,我们来测试一下。
OK, let's test it.

首先,我将转换我的项目,然后重新启动所有该项目。
Firstly, I will convert my project and let's reboot all this project.

好吧,这就是重建它,我现在将启动一个模拟器。
And, OK, this is rebuild it, and I will start a simulator now.

好的。
OK.

只需写下保单,我们就准备好了。
Just writing to the policy, then we are ready.

首先,我也会观望这一、二号的风向。
Firstly, I will wait to watch wind of this one and two also.

让我们打开和关闭它,将其切换为打开状态。
And let's make it on and off toggle this is on.

然后输出打开。
Then the output is on.

这是关闭的,零也是关闭的。
This is off and zero is off.

但你会看到它被设置为并且现在已确定,然后 M2 将被重置。
But you will see this is set at and one now is settled and then M2 is going to be reset.

但我们准备听M3。
But we set to hear M3.

因此,让我们将 M3 插入我的监视窗口。
So let's insert M3 to my watch window.

我会让 M3 成为现实,让我们让 M2 变得活跃。
I will make M3 true and let's make active M2.

好的。
OK.

断断续续,那么这是真的,这是理查德,好吗?
On and off, then this is true, and this is Richard, OK?

这是基础知识,这实际上是策略编程的基本指令,但这也很重要,我们可以使用快速编程语言的设置和重置块来设置或重置位。
This is the basics, and this is really basic instructions for the policy programming, but also this is important we can use set and reset blocks for a speedy programming language to set or reset a bits.

根据科伊尔的说法,根据我们的内部规则和实际上的规则,比如“没关系”,我们可以轻松地使用它们所有的设置和重置。
And according to Coyle, according to our internal rules and actually rules like it's OK, we can use them all set and reset in such an ease like that.

如果您遇到任何困难,可以立即向我提问。
If you're stuck at any point, you can ask me a question immediately.

下一篇教程见。
See you into next tutorial.